#pragma once
class nocopyable//基类用于提供派生类不可复制的特性
{
public:
    nocopyable(const nocopyable &) = delete;
    void operator=(const nocopyable &) = delete;

protected:
    nocopyable()=default;
    ~nocopyable()=default;
};